package com.jingjiu.homeservicesapi.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 疾病信息：用于存储具体疾病的介绍与科普内容对象 disease_info
 * 
 * @author ruoyi
 * @date 2025-04-16
 */
public class DiseaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 疾病ID */
    private Long id;

    /** 疾病名称 */
    @Excel(name = "疾病名称")
    private String name;

    /** 所属分类名称 */
    @Excel(name = "所属分类名称")
    private String categoryName;

    /** 疾病图片地址 */
    @Excel(name = "疾病图片地址")
    private String imageUrl;

    /** 疾病描述（多条） */
    @Excel(name = "疾病描述", readConverterExp = "多=条")
    private String description;

    /** 常见症状 */
    @Excel(name = "常见症状")
    private String symptoms;

    /** 预防措施 */
    @Excel(name = "预防措施")
    private String prevention;

    /** 治疗方法 */
    @Excel(name = "治疗方法")
    private String treatment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setSymptoms(String symptoms) 
    {
        this.symptoms = symptoms;
    }

    public String getSymptoms() 
    {
        return symptoms;
    }

    public void setPrevention(String prevention) 
    {
        this.prevention = prevention;
    }

    public String getPrevention() 
    {
        return prevention;
    }

    public void setTreatment(String treatment) 
    {
        this.treatment = treatment;
    }

    public String getTreatment() 
    {
        return treatment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("categoryName", getCategoryName())
            .append("imageUrl", getImageUrl())
            .append("description", getDescription())
            .append("symptoms", getSymptoms())
            .append("prevention", getPrevention())
            .append("treatment", getTreatment())
            .toString();
    }
}
